            <select class="form-control" name="meta[brand]" id="brand">
              <option value="0" selected>โปรดเลือก</option>
              <?php
              if(!empty($brands)) {
                foreach ($brands as $brand) { ?>
                  <option value="<?php echo $brand['id']; ?>">
                <?php echo $brand['name']; ?>
              </option>
              <?php  }
              }
                ?>
            </select>